package tool

import "MoSkeleton/framework/core/dto/response"

type GenBizItemResp struct {
	response.ModelResp
	ClassifyId          uint64 `json:"classifyId,string"`
	DatasourceId        uint64 `json:"datasourceId,string" form:"datasourceId,string" binding:"required"`
	ClassifyTitle       string `json:"classifyTitle"`
	Title               string `json:"title"`
	FunctionAuthor      string `json:"functionAuthor"`
	IsIgnoreTablePrefix string `json:"isIgnoreTablePrefix"`
	TableSuffix         string `json:"tableSuffix"`
	ListOrder           int32  `json:"listOrder"`
	Status              string `json:"status"`
	Remark              string `json:"remark"`
	CreatedBy           string `json:"createdBy"`
}

type GenBizDetailResp struct {
	Biz         *GenBizItemResp                      `json:"biz"`
	Classifys   []*GenTemplateClassifySimpleItemResp `json:"classifys"`
	Datasources []*GenDatasourceSimpleItemResp       `json:"datasources"`
}
